package org.jeecg.modules.school.consult.entity;/*
 @author ycz
 @date 2022-01-11-14:25
*/

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class MemSchoolSeekHelp implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.AUTO )
    private String id;

    /**
     * 咨詢編號
     */
    @Excel(name = "咨詢編號",width = 15)
    private String consultationNo;

    /**
     *
     * 1教職人員、2家長、3學生、4其他
     */
    @Excel(name = "求助者身份",width = 15,dicCode = "seekerIdentity")
    @Dict(dicCode = "seekerIdentity")
    private Integer  seekerIdentity;

    @Excel(name = "其他身份",width = 15)
    private String seekerIdentityOther;

    /**
     *
     *1面談、2電話、3電郵、4網絡、5其他
     *
     */
    @Excel(name = "求助路徑",width = 15,dicCode = "means")
    @Dict(dicCode = "means")
    private Integer means;

    @Excel(name = "其他路徑",width = 15)
    private String meansOther;

    @Excel(name = "出生日期",width = 15,format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthDate;

    @Excel(name = "聯繫方式",width = 15)
    private String tel;


    @Excel(name = "學生姓名",width = 15)
    private String studentName;

    /**
     * 幼稚園 I1-I3；小學 P1-P6；初中 SG1-SG3；高中 SC1-SC3
     */
    @Excel(name = "年級",width = 15,dicCode = "grade")
    @Dict(dicCode = "grade")
    private Integer grade;

    @Excel(name = "性別",width = 15,dicCode = "sex")
    @Dict(dicCode = "sex")
    private Integer gender;

    @Excel(name = "學校名稱",width = 15)
    private String schoolName;

    /**
     * 質詢日期
     */
    @Excel(name = "咨詢日期",width = 15 , format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date consultationDate;

    @Excel(name = "問題類型",width = 15,dicCode = "issueType")
    @Dict(dicCode = "issueType")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private String issueType;

    @Excel(name = "問題性質",width = 15,dicCode = "issueProperty")
    @Dict(dicCode = "issueProperty")
    private Integer issueProperty;



    @Excel(name = "內容",width = 200)
    private String content;

    @Excel(name = "備註",width = 15)
    private String remark;

    @Excel(name = "是否刪除",width = 15)
    private Integer dr;

    @Excel(name = "是否開案處理",width = 15,dicCode = "isOpenCase")
    @Dict(dicCode = "isOpenCase")
    private Integer isOpenCase;

    @Excel(name = "創建者",width = 15)
    private String creatorId;

    @Excel(name = "創建時間",width = 15 , format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;


    @Excel(name = "更新人",width = 15)
    private String updaterId;

    @Excel(name = "更新時間",width = 15 ,format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;





}
